package com.flida.echart.basic.system.service.impl;

import com.flida.echart.basic.api.system.entity.NodeBodyHistory;
import com.flida.echart.basic.system.dao.NodeBodyHistoryDao;
import com.flida.echart.basic.system.service.INodeBodyHistoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("nodeBodyHistoryService")
public class NodeBodyHistoryServiceImpl implements INodeBodyHistoryService {
    @Autowired
    private NodeBodyHistoryDao nodeBodyHistoryDao;


    public int deleteByPrimaryKey(String id) {

        return nodeBodyHistoryDao.deleteByPrimaryKey(id);
    }


    public int insert(NodeBodyHistory record) {

        return nodeBodyHistoryDao.insert(record);
    }


    public int insertSelective(NodeBodyHistory record) {

        return nodeBodyHistoryDao.insertSelective(record);
    }


    public NodeBodyHistory selectByPrimaryKey(String id) {

        return nodeBodyHistoryDao.selectByPrimaryKey(id);
    }


    public int updateByPrimaryKeySelective(NodeBodyHistory record) {

        return nodeBodyHistoryDao.updateByPrimaryKeySelective(record);
    }


    public int updateByPrimaryKeyWithBLOBs(NodeBodyHistory record) {

        return nodeBodyHistoryDao.updateByPrimaryKeyWithBLOBs(record);
    }


    public int updateByPrimaryKey(NodeBodyHistory record) {

        return nodeBodyHistoryDao.updateByPrimaryKey(record);
    }

}
